package com.xsmart.oa.dao.mall.mymenu;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

@Component
public interface PwdManagerDao {

    @Update("update INFS_USER set password = #{password} where user_id = #{userId}")
    int updatePwd(@Param("userId") String userId, @Param("password") String password);

    @Update("update INFS_USER set password = #{password} where user_name = #{userName}")
    int setPwd(@Param("userName") String userName, @Param("password") String password);
}
